package USER;

import Book.BookList;
import option.MY;
import jdk.nashorn.internal.runtime.regexp.joni.Option;

public abstract class User {
    protected String name;
    protected MY[] options;
    public User(String name){
            this.name = name;

    }
    public void dooption(int choice, BookList booklist){//booklist为啥需要

        options[choice].work(booklist);
    }
    public abstract int menu();
}
